package com.framework.admin.repository;

import com.framework.admin.model.SysRoleMenu;
import com.framework.common.repository.BaseJpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysRoleMenuRepository extends BaseJpaRepository<SysRoleMenu, String> {
    void deleteByRoleId(String id);
    void deleteByMenuIdIn(List<String> id);
}
